//计分器类
import DataStore from '../base/DataStore.js'

export default class {
  constructor() {
    this.ctx = DataStore.getInstance().ctx
    this.scoreNumber = 0
    this.isScore = true
  }
  draw() {
    this.ctx.font = '25px Arial'
    this.ctx.fillStyle = '#ff8ae2'
    this.ctx.fillText(this.scoreNumber,
      DataStore.getInstance().canvas.width/2,
      DataStore.getInstance().canvas.height/18,
      1000
      )
  }
}
